home *** CD-ROM | disk | FTP | other *** search
- ; Psychose'Player : Include-File.
- ; Psychose'Player was coded by LCA of Psychose Inc.
-
- Extrn InitPlayer : FAR
- ; CALL : AX = Playing-Rate (Maximum is 22000 Hz)
- ; RETURN : Nothing
-
- Extrn EndPlayer : FAR
- ; Parameters: Nothing
-
- Extrn LoadModule : FAR
- ; CALL : DS:DX : Offset of an ASCIIZ String corresponding to
- ;the name of the module to load (and of course to play!!)
- ; RETURN : Carry=0 : Ok : No error
- ; Carry=1 : Arg!! ERROR!!!!
-
- Extrn EraseModule : FAR
- ; Parameters: Nothing
-
- Extrn ConvertModule : FAR
- ; CALL : GS:ESI = 32 bits offset of the module in memory
- ; CX=Size in Kilo-Byte of the .MOD File.
- ; RETURN : Carry=0 : Ok
- ; carry=1 : ERROR!! (Not Enough Memory!!)
-
- Extrn InfoSoundBlaster: FAR
- ; CALL : Nothing
- ; RETURN : AL=Sound-Card (see the constants below)
- ; AH=IRQ number
- ; DX=I/O Port
-
- Extrn StartPlaying : FAR
- ; CALL : AL=Playing-Mode
- ; If AL=Mode_2, then BX=Calling Rate
- ; RETURN : Nothing
-
- Extrn StopPlaying : FAR
- ; Parameters : Nothing
-
- Extrn MusicMode : FAR
- ; CALL : AL=Playing-Mode
- ; If AL=Mode_2 then BX=Calling-Rate
- ; RETURN : Nothing
-
- Extrn HandleMusic0 : FAR
- ; Parameters : Nothing
-
- Extrn HandleMusic2 : FAR
- ; Parameters : Nothing
-
- Extrn HandleMusic3 : FAR
- ; Parameters : Nothing
-
- Extrn SetPosition : FAR
- ; CALL : AL = Pattern_Index
- ; AH = Beat_Index
- ; RETURN : Nothing
-
-
-
- Extrn Max_Volume : BYTE
- Extrn Beat_Index : BYTE
- Extrn Pattern_Index : BYTE
- Extrn Num_Voices : BYTE
- Extrn PTR_Voice_Info : DWORD
- Extrn Voice_Info : BYTE
- Extrn SongLength : BYTE
- Extrn Restart : BYTE
-
-
- Struc_Voice_Info STRUC
- Off_InstrInfo dd ?
- OffsetDigit dd ?
- Instrument db ?
- InstrVolume db ?
- VmVolume db ?
- InstrFineTune db ?
- Arp_Counter db ?
- QueDalle db ?
- Rate dw ?
- Corrector dd ?
- CorrectorVal dd ?
- EffectCommand dw ?
- SauveRate dw ?
- Struc_Voice_Info ENDS
-
- No_SB = 0
- SB_Mono = 1
- SB_Stereo = 2
-
- ; Bye!!